<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Stream 函数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="streamwrapper.url-stat.html">streamWrapper::url_stat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.set-socket-blocking.html">set_socket_blocking</a></div>
 <div class="up"><a href="book.stream.html">Streams</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.stream" class="reference">
 <h1 class="title">Stream 函数</h1>

 



































































































































































 





























 




























































































  




















<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.set-socket-blocking.html">set_socket_blocking</a> — 别名 stream_set_blocking</li><li><a href="function.stream-bucket-append.html">stream_bucket_append</a> — Append bucket to brigade</li><li><a href="function.stream-bucket-make-writeable.html">stream_bucket_make_writeable</a> — Return a bucket object from the brigade for operating on</li><li><a href="function.stream-bucket-new.html">stream_bucket_new</a> — Create a new bucket for use on the current stream</li><li><a href="function.stream-bucket-prepend.html">stream_bucket_prepend</a> — Prepend bucket to brigade</li><li><a href="function.stream-context-create.html">stream_context_create</a> — Creates a stream context</li><li><a href="function.stream-context-get-default.html">stream_context_get_default</a> — Retrieve the default stream context</li><li><a href="function.stream-context-get-options.html">stream_context_get_options</a> — Retrieve options for a stream/wrapper/context</li><li><a href="function.stream-context-get-params.html">stream_context_get_params</a> — Retrieves parameters from a context</li><li><a href="function.stream-context-set-default.html">stream_context_set_default</a> — Set the default stream context</li><li><a href="function.stream-context-set-option.html">stream_context_set_option</a> — Sets an option for a stream/wrapper/context</li><li><a href="function.stream-context-set-params.html">stream_context_set_params</a> — Set parameters for a stream/wrapper/context</li><li><a href="function.stream-copy-to-stream.html">stream_copy_to_stream</a> — Copies data from one stream to another</li><li><a href="function.stream-encoding.html">stream_encoding</a> — Set character set for stream encoding</li><li><a href="function.stream-filter-append.html">stream_filter_append</a> — Attach a filter to a stream</li><li><a href="function.stream-filter-prepend.html">stream_filter_prepend</a> — Attach a filter to a stream</li><li><a href="function.stream-filter-register.html">stream_filter_register</a> — Register a user defined stream filter</li><li><a href="function.stream-filter-remove.html">stream_filter_remove</a> — Remove a filter from a stream</li><li><a href="function.stream-get-contents.html">stream_get_contents</a> — Reads remainder of a stream into a string</li><li><a href="function.stream-get-filters.html">stream_get_filters</a> — Retrieve list of registered filters</li><li><a href="function.stream-get-line.html">stream_get_line</a> — Gets line from stream resource up to a given delimiter</li><li><a href="function.stream-get-meta-data.html">stream_get_meta_data</a> — 从封装协议文件指针中取得报头／元数据</li><li><a href="function.stream-get-transports.html">stream_get_transports</a> — Retrieve list of registered socket transports</li><li><a href="function.stream-get-wrappers.html">stream_get_wrappers</a> — Retrieve list of registered streams</li><li><a href="function.stream-is-local.html">stream_is_local</a> — Checks if a stream is a local stream</li><li><a href="function.stream-notification-callback.html">stream_notification_callback</a> — A callback function for the notification context paramater</li><li><a href="function.stream-register-wrapper.html">stream_register_wrapper</a> — 别名 stream_wrapper_register</li><li><a href="function.stream-resolve-include-path.html">stream_resolve_include_path</a> — Resolve filename against the include path</li><li><a href="function.stream-select.html">stream_select</a> — Runs the equivalent of the select() system call on the given
   arrays of streams with a timeout specified by tv_sec and tv_usec</li><li><a href="function.stream-set-blocking.html">stream_set_blocking</a> — Set blocking/non-blocking mode on a stream</li><li><a href="function.stream-set-chunk-size.html">stream_set_chunk_size</a> — Set the stream chunk size</li><li><a href="function.stream-set-read-buffer.html">stream_set_read_buffer</a> — Set read file buffering on the given stream</li><li><a href="function.stream-set-timeout.html">stream_set_timeout</a> — Set timeout period on a stream</li><li><a href="function.stream-set-write-buffer.html">stream_set_write_buffer</a> — Sets write file buffering on the given stream</li><li><a href="function.stream-socket-accept.html">stream_socket_accept</a> — Accept a connection on a socket created by stream_socket_server</li><li><a href="function.stream-socket-client.html">stream_socket_client</a> — Open Internet or Unix domain socket connection</li><li><a href="function.stream-socket-enable-crypto.html">stream_socket_enable_crypto</a> — Turns encryption on/off on an already connected socket</li><li><a href="function.stream-socket-get-name.html">stream_socket_get_name</a> — Retrieve the name of the local or remote sockets</li><li><a href="function.stream-socket-pair.html">stream_socket_pair</a> — 创建一对完全一样的网络套接字连接流</li><li><a href="function.stream-socket-recvfrom.html">stream_socket_recvfrom</a> — Receives data from a socket, connected or not</li><li><a href="function.stream-socket-sendto.html">stream_socket_sendto</a> — Sends a message to a socket, whether it is connected or not</li><li><a href="function.stream-socket-server.html">stream_socket_server</a> — Create an Internet or Unix domain server socket</li><li><a href="function.stream-socket-shutdown.html">stream_socket_shutdown</a> — Shutdown a full-duplex connection</li><li><a href="function.stream-supports-lock.html">stream_supports_lock</a> — Tells whether the stream supports locking.</li><li><a href="function.stream-wrapper-register.html">stream_register_wrapper</a> — 注册一个用 PHP 类实现的 URL 封装协议</li><li><a href="function.stream-wrapper-restore.html">stream_wrapper_restore</a> — Restores a previously unregistered built-in wrapper</li><li><a href="function.stream-wrapper-unregister.html">stream_wrapper_unregister</a> — Unregister a URL wrapper</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="streamwrapper.url-stat.html">streamWrapper::url_stat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.set-socket-blocking.html">set_socket_blocking</a></div>
 <div class="up"><a href="book.stream.html">Streams</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
